/*
 * @Author: @AT-bear 1509109728@qq.com
 * @Date: 2024-06-05 20:45:38
 * @LastEditors: @AT-bear 1509109728@qq.com
 * @LastEditTime: 2024-06-29 04:06:07
 * @FilePath: \riddle_game_server\routers\apiRouter.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const express = require('express')
let router = express.Router()
const apiCtrl = require('../controller/apiController')

//获取选择题数据
router.get('/api/getSelectQA',apiCtrl.getRiddles)
router.get('/api/get',apiCtrl.get)
router.get('/api/getIdiom',apiCtrl.getIdiom)
router.get('/api/getSimple',apiCtrl.getSimple)

module.exports =router